<extend name="Base/common" />
<block name="body">
  <div class="span9 page_message">
<section id="contents">
  <ul class="tab-nav nav">
    <li class="current"><a href="{:U('Home/MemberPublic/lists')}">公众号管理<span class="arrow fa fa-sort-up"></span></a></li>
  </ul>
  <div class="setting_step app_setting">
         <a class="step step_cur" href="{:U('Home/MemberPublic/add',array('id'=>$id))}">1.增加基本信息</a>
         <a class="step step_cur_1" href="{:U('Home/MemberPublic/step_1',array('id'=>$id))}">2.配置公众平台</a>
         <a class="step " href="{:U('Home/MemberPublic/step_2',array('id'=>$id))}">3.保存接口配置</a>
  </div>   
  
  <div class="tab-content"> 
		<strong>请在公众平台开发者中心里的服务器配置录入以下参数</strong>
  </div>
  <div class="help_content">
        <p>URL(服务器地址)：<span style="color: #FF0000">{:U('home/weixin/index',array('id'=>$id))}</span><br>
          Token(令牌)：<span style="color: #F00">weiphp</span><br>
          EncodingAESKey(消息加解密密钥)：点击随机生成得到密钥，不需要自己填写<br>
          消息加解密方式： 根据自己的需要选择其中一种
          </p>
          <p>&nbsp;</p>
          <p><a class="btn submit-btn" href="{:U('Home/MemberPublic/step_2',array('id'=>$id))}">下一步</a></p>
          <p>&nbsp;</p>
          <p><img src="{:SITE_URL}/Public/Home/images/help02.png" ></p>
          <p><img src="{:SITE_URL}/Public/Home/images/help03.png" ></p>
          </div>
</section>
</block>
<block name="script">
  <link href="__STATIC__/datetimepicker/css/datetimepicker.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">
  <php>if(C('COLOR_STYLE')=='blue_color') echo '
    <link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">
    ';</php>
  <link href="__STATIC__/datetimepicker/css/dropdown.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">
  <script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.js"></script> 
  <script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js?v={:SITE_VERSION}" charset="UTF-8"></script> 
  <script type="text/javascript">
$('#submit').click(function(){
    $('#form').submit();
});

$(function(){
    $('.time').datetimepicker({
        format: 'yyyy-mm-dd hh:ii',
        language:"zh-CN",
        minView:0,
        autoclose:true
    });
    $('.date').datetimepicker({
        format: 'yyyy-mm-dd',
        language:"zh-CN",
        minView:2,
        autoclose:true
    });	
    showTab();
});
</script> 
</block>
